home *** CD-ROM | disk | FTP | other *** search
- Path: news.mindspring.com!usenet
- From: rudd@mindspring.com (Justin Rudd)
- Newsgroups: comp.lang.c++
- Subject: Re: First Big One
- Date: Wed, 13 Mar 1996 02:42:54 GMT
- Organization: MindSpring Enterprises
- Message-ID: <4i5cud$n4p@firebrick.mindspring.com>
- References: <4i4oa4$ga9@nova.umuc.edu>
- Reply-To: rudd@mindspring.com
- NNTP-Posting-Host: rudd.mindspring.com
- X-Newsreader: Forte Free Agent v0.55
-
- [snip]
-
- >Im finnishing up the second of a 2 semester intro to c++ and
- >programming. I have a rudimentry knowledge of classes. Im confident
- >I can write the number crunching, but as a lowly student I don't
- >if it is practical for me to try to solve the following problems.
- >Are the following things in reach, Im willing to do some reading
- >( so please direct me:))
-
- Anything is within in reach as long as you don't give up. One bit of
- advice: Extend your knowledge of classes over the next couple of
- months ( I am assuming when you say summer you mean like May or June
- ). They will be your most important "tool".
-
- >1. Putting the program on disk and having it store data on
- > another disk. The program has to run without the user
- > having to compile and link it, the way a prof application would.
-
- Any good compiler should create an executable so that is no problem.
-
- >2. making special colors/graphics to give the program a special
- > look.
-
- Sure...but I'll tell you straight up...Graphics is some of the most
- tedious work you'll ever do. I _HATE_ GUIs. But considering that is
- what people look at do a good one.
-
- Anyway...as for doing them....Borland's Turbo C++ has some pretty nice
- ( very plain but nice ) graphics, and they are easy to learn.
-
- >3. having the data stored in a data base. Should I wait until I
- > have a data base class? Can I build the crunching now in c++
- > and hook up the program to a database program in another language?
- > I just don't know how these things are done.
-
- If you know how to do a link list or a hash table you could write this
- yourself. It would be great experience. Anyway..you can always set
- up tables later and build in the data access later. But to be honest
- this is a design issue.
-
- >4. having that data printable and deliminated by page so reports
- > can be printed out.
-
- This can be done...will probably take you some time.
-
- Printing to me is like graphics...boring and tedious but has to be
- done. I suggest you get a report generator and then just have your
- program print those reports.
-
- >5. an error control mechanism that would allow the user to reenter
- > faulty data. Right now, all I can do is shut the program down.
-
- You can build error-checking into the program where it checks the
- format and tells the user whether or not it is correct. The way I
- used to do it is kinda cheat ;-). What you do is have them enter all
- the data and then hit a hot key that does all the calculations, etc.
- Like I said they won't get instant updates of what they are typing but
- it is a good way to start if you are a beginner.
-
- >Anything else a starting student might not be aware of trying to
- >write a serious program.
-
- Hm....probably the most important. If you don't know how to do it:
- ASK...if you don't get an answer KEEP ASKING. Because it basically
- destroys the trust you have built up with your employer if you have to
- say " Sorry I have to delay your program by about 3 months because I
- don't know how to do this yet" Most of the employers I've worked for
- don't care. They just won't their product. I know I have asked for
- help several times on things that seemed hard but ended up being
- simple.
-
- Well good luck...
-
- Justin
-
-